package appengine.infrastructure.commons;

import appengine.infrastructure.commons.GenericStorageManager;
import appengine.infrastructure.commons.Storage;

/**
 * 
 * @author m.sharif (mosabsalih@gmail.com)
 *
 */
public final class StorageFactory {

	private final static StorageFactory factory = new StorageFactory();

	public static StorageFactory get() {
		
		return factory;
		
	}
	
	public synchronized Storage<? extends Object> getManager(Class<?> theClass) {
		

		
		return new GenericStorageManager(theClass);

	}
			
	
}
